/**
 * Load completion judgment
 * @param parentModule   output module
 * @param moduleName     module name
 */
export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) {
  if (parentModule) {
    throw new Error(`${moduleName} already loaded. The core module entry isAppModule.`);
  }
}
